import request from '@/utils/request'

// 查询神椰第三方商品列表
export function thirdCommodityList(query) {
  return request({
    url: '/shenye/third/commodity/list',
    method: 'get',
    params: query
  })
}
// 更新神椰第三方商品列表
export function updateThirdCommodityList(data) {
  return request({
    url: '/shenye/third/commodity/list',
    method: 'put',
    data
  })
}
// 更新神椰第三方商品详情
export function updateThirdCommodityDetail(data) {
  return request({
    url: '/shenye/third/commodity/detail',
    method: 'put',
    data
  })
}
